﻿using LJX.SmartPark.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Domain.Area
{
    /// <summary>
    /// 临停缴费
    /// </summary>
    [Table("ProvisionalPay")]
    public class ProvisionalPay : KeyEntity 
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int Sortid { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        [MaxLength(30)]
        public string OrderNum { get; set; }

        /// <summary>
        /// 车牌号码
        /// </summary>
        [MaxLength(30)]
        public string CarNum { get; set; }

        /// <summary>
        /// 进场时间
        /// </summary>
        public DateTime ApproachTime { get; set; }

        /// <summary>
        /// 停车时长    
        /// </summary>
        public int ParkingDuration { get; set; }

        /// <summary>
        /// 停车费用
        /// </summary>
        public decimal ParkingFee { get; set; }

        /// <summary>
        /// 实付金额
        /// </summary>
        public decimal RealPayMoney { get; set; }

        /// <summary>
        /// 订单日期
        /// </summary>
        public DateTime OrderDate { get; set; }
    }
}
